package com.jic.member.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.MememberIntegralBase;
import com.jic.member.request.MememberIntegralBaseQueryRequest;
import com.jic.member.request.MememberIntegralBaseRequest;

import java.util.List;

/**
* 会员积分基础表
* @author : 
* @email : 
* @since : 2020-04-04 02:29:49
* @version : v1.0.0
*/
public interface MememberIntegralBaseService {

    long insert(MememberIntegralBase mememberIntegralBase);

    long delete(Long id);

    long update(MememberIntegralBase mememberIntegralBase);

    MememberIntegralBase queryByPrimaryKey(Long id);

    List<MememberIntegralBase> query(MememberIntegralBase mememberIntegralBase);

    PageResult<MememberIntegralBase> queryPage(MememberIntegralBase mememberIntegralBase, Page pageQuery);

    RestResult insertIntegralBaseInfo(MememberIntegralBaseRequest mememberIntegralBaseRequest);

    RestResult queryByDeptId(MememberIntegralBaseQueryRequest mememberIntegralBaseQueryRequest);

    RestResult insertStoreIntegralBaseInfo(MememberIntegralBaseRequest mememberIntegralBaseRequest);

    PageResult<MememberIntegralBase> queryPageForChild(MememberIntegralBaseQueryRequest form, Page page);
}